#ifndef _MALICEDRIVER_H_
#define _MALICEDRIVER_H_

#include "Scanner/MAliceScanner.hpp"
#include "Parser/MAliceParser.hpp"
#include <iostream>

class MAliceDriver
{
private:
	MAlice::Scanner* mScanner;
	MAlice::Ast* mAst;

public:
	inline MAliceDriver(MAlice::Scanner* scanner) :
		mScanner(scanner)
	{
	}

	~MAliceDriver()
	{
	}

	inline MAlice::Scanner* getScanner()
	{
		return mScanner;
	}

	MAliceDriver* put(MAlice::Ast* ast)
	{
		mAst = ast;
		return this;
	}

	MAlice::Ast* get()
	{
		return mAst;
	}
};

#endif /* _MALICEDRIVER_H_ */
